.class public Lcom/brixd/niceapp/community/activity/AppListActivity;
.super Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;
.source "AppListActivity.java"


# static fields
.field private static final ACTION_SEARCH:I = 0x1


# instance fields
.field private mAdapter:Lcom/brixd/niceapp/community/adapter/AppListAdapter;

.field private mEmptyPromptTxt:Landroid/widget/TextView;

.field private mHandler:Landroid/os/Handler;

.field private mInstalledApps:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/InstalledAppModel;",
            ">;"
        }
    .end annotation
.end field

.field private mListView:Landroid/widget/ListView;

.field private mSearchEdt:Landroid/widget/EditText;

.field private mSearchedApps:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList",
            "<",
            "Lcom/brixd/niceapp/community/model/InstalledAppModel;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 2

    .prologue
    .line 38
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;-><init>()V

    .line 180
    new-instance v0, Lcom/brixd/niceapp/community/activity/AppListActivity$6;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$6;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mHandler:Landroid/os/Handler;

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/community/activity/AppListActivity;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mInstalledApps:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$002(Lcom/brixd/niceapp/community/activity/AppListActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;
    .param p1, "x1"    # Ljava/util/ArrayList;

    .prologue
    .line 38
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mInstalledApps:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/community/activity/AppListActivity;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    invoke-direct {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getAllInstalledApps()Ljava/util/ArrayList;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/community/activity/AppListActivity;)Ljava/util/LinkedList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchedApps:Ljava/util/LinkedList;

    return-object v0
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/community/activity/AppListActivity;)Lcom/brixd/niceapp/community/adapter/AppListAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/AppListAdapter;

    return-object v0
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/community/activity/AppListActivity;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/community/activity/AppListActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/community/activity/AppListActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/community/activity/AppListActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;

    .prologue
    .line 38
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/community/activity/AppListActivity;Ljava/lang/String;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/activity/AppListActivity;
    .param p1, "x1"    # Ljava/lang/String;

    .prologue
    .line 38
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/community/activity/AppListActivity;->computeResults(Ljava/lang/String;)V

    return-void
.end method

.method private computeResults(Ljava/lang/String;)V
    .registers 8
    .param p1, "key"    # Ljava/lang/String;

    .prologue
    .line 194
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mInstalledApps:Ljava/util/ArrayList;

    if-nez v3, :cond_13

    .line 195
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mHandler:Landroid/os/Handler;

    const/4 v4, 0x1

    invoke-virtual {v3, v4, p1}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v2

    .line 196
    .local v2, "msg":Landroid/os/Message;
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mHandler:Landroid/os/Handler;

    const-wide/16 v4, 0x32

    invoke-virtual {v3, v2, v4, v5}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 220
    .end local v2    # "msg":Landroid/os/Message;
    :goto_12
    return-void

    .line 200
    :cond_13
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchedApps:Ljava/util/LinkedList;

    invoke-virtual {v3}, Ljava/util/LinkedList;->clear()V

    .line 201
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_3a

    .line 202
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchedApps:Ljava/util/LinkedList;

    iget-object v4, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mInstalledApps:Ljava/util/ArrayList;

    invoke-virtual {v3, v4}, Ljava/util/LinkedList;->addAll(Ljava/util/Collection;)Z

    .line 212
    :cond_25
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/AppListAdapter;

    invoke-virtual {v3}, Lcom/brixd/niceapp/community/adapter/AppListAdapter;->notifyDataSetChanged()V

    .line 213
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/AppListAdapter;

    invoke-virtual {v3}, Lcom/brixd/niceapp/community/adapter/AppListAdapter;->getCount()I

    move-result v3

    if-lez v3, :cond_69

    .line 214
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mEmptyPromptTxt:Landroid/widget/TextView;

    const/16 v4, 0x8

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_12

    .line 204
    :cond_3a
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_3b
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mInstalledApps:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v1, v3, :cond_25

    .line 205
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mInstalledApps:Ljava/util/ArrayList;

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/InstalledAppModel;

    .line 206
    .local v0, "app":Lcom/brixd/niceapp/community/model/InstalledAppModel;
    invoke-virtual {v0}, Lcom/brixd/niceapp/community/model/InstalledAppModel;->getName()Ljava/lang/String;

    move-result-object v3

    sget-object v4, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-virtual {v3, v4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object v3

    sget-object v4, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-virtual {p1, v4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_66

    .line 207
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchedApps:Ljava/util/LinkedList;

    invoke-virtual {v3, v0}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 204
    :cond_66
    add-int/lit8 v1, v1, 0x1

    goto :goto_3b

    .line 216
    .end local v0    # "app":Lcom/brixd/niceapp/community/model/InstalledAppModel;
    .end local v1    # "i":I
    :cond_69
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mEmptyPromptTxt:Landroid/widget/TextView;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setVisibility(I)V

    .line 217
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mEmptyPromptTxt:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "\u6ca1\u6709\u641c\u7d22\u5230 \""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_12
.end method

.method private getAllInstalledApps()Ljava/util/ArrayList;
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/InstalledAppModel;",
            ">;"
        }
    .end annotation

    .prologue
    .line 224
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    .line 226
    .local v4, "installedApps":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/community/model/InstalledAppModel;>;"
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v5

    .line 227
    .local v5, "pm":Landroid/content/pm/PackageManager;
    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Landroid/content/pm/PackageManager;->getInstalledApplications(I)Ljava/util/List;

    move-result-object v1

    .line 228
    .local v1, "appInfos":Ljava/util/List;, "Ljava/util/List<Landroid/content/pm/ApplicationInfo;>;"
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_f
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v6

    if-ge v2, v6, :cond_47

    .line 229
    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/content/pm/ApplicationInfo;

    .line 230
    .local v3, "info":Landroid/content/pm/ApplicationInfo;
    iget v6, v3, Landroid/content/pm/ApplicationInfo;->flags:I

    and-int/lit8 v6, v6, 0x1

    if-nez v6, :cond_44

    .line 231
    new-instance v0, Lcom/brixd/niceapp/community/model/InstalledAppModel;

    invoke-direct {v0}, Lcom/brixd/niceapp/community/model/InstalledAppModel;-><init>()V

    .line 232
    .local v0, "app":Lcom/brixd/niceapp/community/model/InstalledAppModel;
    invoke-virtual {v3, v5}, Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;

    move-result-object v6

    invoke-interface {v6}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Lcom/brixd/niceapp/community/model/InstalledAppModel;->setName(Ljava/lang/String;)V

    .line 233
    iget-object v6, v3, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v0, v6}, Lcom/brixd/niceapp/community/model/InstalledAppModel;->setPackageName(Ljava/lang/String;)V

    .line 234
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v6

    invoke-virtual {v3, v6}, Landroid/content/pm/ApplicationInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v6

    invoke-virtual {v0, v6}, Lcom/brixd/niceapp/community/model/InstalledAppModel;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 236
    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 228
    .end local v0    # "app":Lcom/brixd/niceapp/community/model/InstalledAppModel;
    :cond_44
    add-int/lit8 v2, v2, 0x1

    goto :goto_f

    .line 240
    .end local v3    # "info":Landroid/content/pm/ApplicationInfo;
    :cond_47
    new-instance v6, Lcom/brixd/niceapp/community/activity/AppListActivity$7;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$7;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    invoke-static {v4, v6}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 248
    return-object v4
.end method

.method private initData()V
    .registers 3

    .prologue
    .line 79
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchedApps:Ljava/util/LinkedList;

    .line 80
    new-instance v0, Lcom/brixd/niceapp/community/adapter/AppListAdapter;

    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchedApps:Ljava/util/LinkedList;

    invoke-direct {v0, p0, v1}, Lcom/brixd/niceapp/community/adapter/AppListAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/AppListAdapter;

    .line 82
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/brixd/niceapp/community/activity/AppListActivity$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$1;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 97
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 98
    return-void
.end method

.method private initWidgets()V
    .registers 4

    .prologue
    const/16 v2, 0x8

    .line 101
    const v0, 0x7f0a002b

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mListView:Landroid/widget/ListView;

    .line 103
    const v0, 0x7f0a004b

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mEmptyPromptTxt:Landroid/widget/TextView;

    .line 104
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mEmptyPromptTxt:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 106
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mListView:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/AppListAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 108
    invoke-virtual {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->getSearchEditText()Landroid/widget/EditText;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchEdt:Landroid/widget/EditText;

    .line 110
    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/community/activity/AppListActivity;->setBackBtnVisibility(I)V

    .line 111
    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/community/activity/AppListActivity;->setCommitBtnVisibility(I)V

    .line 112
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->setSearchAreaVisibility(I)V

    .line 114
    return-void
.end method

.method private initWidgetsActions()V
    .registers 3

    .prologue
    .line 117
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mListView:Landroid/widget/ListView;

    new-instance v1, Lcom/brixd/niceapp/community/activity/AppListActivity$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$2;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 132
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mSearchEdt:Landroid/widget/EditText;

    new-instance v1, Lcom/brixd/niceapp/community/activity/AppListActivity$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$3;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 153
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mListView:Landroid/widget/ListView;

    new-instance v1, Lcom/brixd/niceapp/community/activity/AppListActivity$4;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$4;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 168
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/AppListActivity;->mEmptyPromptTxt:Landroid/widget/TextView;

    new-instance v1, Lcom/brixd/niceapp/community/activity/AppListActivity$5;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/community/activity/AppListActivity$5;-><init>(Lcom/brixd/niceapp/community/activity/AppListActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 178
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 53
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 54
    const v0, 0x7f030009

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->setContentView(I)V

    .line 56
    invoke-direct {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->initData()V

    .line 57
    invoke-direct {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->initWidgets()V

    .line 58
    invoke-direct {p0}, Lcom/brixd/niceapp/community/activity/AppListActivity;->initWidgetsActions()V

    .line 60
    return-void
.end method

.method protected onPause()V
    .registers 2

    .prologue
    .line 72
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onPause()V

    .line 74
    const-string v0, "AppListActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    .line 75
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onPause(Landroid/content/Context;)V

    .line 76
    return-void
.end method

.method protected onResume()V
    .registers 2

    .prologue
    .line 64
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onResume()V

    .line 66
    const-string v0, "AppListActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    .line 67
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onResume(Landroid/content/Context;)V

    .line 68
    return-void
.end method
